XMLDocumentComponent Sample XSD File

The following XSD schema is used with the Using the xmlDocumentComponent with Schema topic.

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

<xs:element name="dsPubs">

<xs:complexType>

<xs:sequence>

<xs:element ref="publishers" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="publishers">

<xs:complexType>

<xs:sequence>

<xs:element ref="pub_id"/>

<xs:element ref="pub_name"/>

<xs:element ref="city"/>

<xs:element ref="state"/>

<xs:element ref="country"/>

<xs:element ref="titles" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="pub_name" type="xs:NCName"/>

<xs:element name="city" type="xs:NCName"/>

<xs:element name="state" type="xs:NCName"/>

<xs:element name="country" type="xs:NCName"/>

<xs:element name="titles">

<xs:complexType>

<xs:sequence>

<xs:element ref="title_id"/>

<xs:element ref="title"/>

<xs:element ref="type"/>

<xs:element ref="pub_id"/>

<xs:element ref="price"/>

<xs:element ref="advance"/>

<xs:element ref="royalty"/>

<xs:element ref="ytd_sales"/>

<xs:element ref="notes"/>

<xs:element ref="pubdate"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="title_id" type="xs:NCName"/>

<xs:element name="title" type="xs:NCName"/>

<xs:element name="type" type="xs:NCName"/>

<xs:element name="price" type="xs:integer"/>

<xs:element name="advance" type="xs:integer"/>

<xs:element name="royalty" type="xs:integer"/>

<xs:element name="ytd_sales" type="xs:integer"/>

<xs:element name="notes" type="xs:string"/>

<xs:element name="pubdate" type="xs:string"/>

<xs:element name="pub_id" type="xs:NCName"/>

</xs:schema>

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label